package t4tools.lepath.model;

public class Field {

	private String name;
	private String getter;
	private String typeDescr;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getGetter() {
		if (getter == null) {
			getter = "get" + String.valueOf(Character.toUpperCase(name.charAt(0))) + name.substring(1);
		}
		return getter;
	}

	public void setGetter(String getter) {
		this.getter = getter;
	}

	public String getTypeDescr() {
		return typeDescr;
	}

	public void setTypeDescr(String typeDescr) {
		this.typeDescr = typeDescr;
	}

}
